package com.res.share.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.res.share.model.ResHistory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 足迹 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-20
 */
public interface IResHistoryService extends IService<ResHistory> {

    Integer saveHistory(Integer articleId, Integer userId);

    IPage<ResHistory> findHistoryList(Page<ResHistory> page, Integer userId);

    void updateBatchDelHistory(List<String> ids, Integer id);
}
